deploy: Improve error message for nonexistent stateroot
authorColin Walters <walters@verbum.org>
Thu, 12 Oct 2023 17:22:00 +0000 (13:22 -0400)
committerColin Walters <walters@verbum.org>
Thu, 12 Oct 2023 17:22:35 +0000 (13:22 -0400)
commit265b7f9ecc3a9d245fc6d32922437bf8922df579
tree624b203681f2ff2ae76089630a7a45c4e51207ba
parent3894fe2ad6f6700766ad7b3ade0ff0050a69b1b3
deploy: Improve error message for nonexistent stateroot

Came up on an internal chat; previously we were only erroring
out when trying to do the SELinux labeling for `/var` which
was really misleading.

Add some other error prefixing while we have the patient open.
src/libostree/ostree-sysroot-deploy.c
tests/admin-test.sh